I'm building a theme for tumblr and the {HasPages} doesn't seem to work properly.

Posted by Muhammad on Pro Webmasters See other posts from Pro Webmasters or by Muhammad
Published on 2010-10-10T18:47:39Z Indexed on 2010/12/30 12:00 UTC
Read the original article Hit count: 436

Filed under:
|

I've put the HTML draft of the theme so far, with minor CSS edits.

Currently I have all the block posts and everything else that's essential to a tumblr theme but I can't seem to get the {HasPages} block to work properly.

I've tested it on a different tumblr, also. There are pages created and I already have provided some basic CSS for it just in case. But there isn't anything showing up.

Has anyone has this problem and if so, is there a solution I'm missing? The code to display the pages is included.

{block:HasPages}
    <ul>
        <li><a href="/">Home</a></li>
        {block:Pages}<li><a href="{URL}">{Label}</a></li>{/block:Pages}
    </ul>
{/block:HasPages} 

Also, is this a valid web masters' question. I'm not sure.

© Pro Webmasters or respective owner

Related posts about theme

Related posts about tumblr